package com.one.blocks.mvc.domain;

import java.io.Serializable;

/**
 * 基础类可通过泛型获取数据主键
 *
 * @author linfuxin Created on 2022-03-22 17:24:25
 */
public interface Id<T extends Serializable> {
    String FIELD_NAME_ID = "id";
    /**
     * id
     *
     * @return id
     */
    public T getId();
}
